package com.hospital.billcommon.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.billcommon.module.entity.OutpBillItemsTemp;
import com.hospital.billcommon.module.mapper.OutpBillItemsTempMapper;
import com.hospital.billcommon.module.service.OutpBillItemsTempService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * ÃÅÕï²¡ÈËÕïÁÆ·ÑÓÃÏîÄ¿ÁÙÊ±±í 服务实现类
 * </p>
 *
 * @author lvyao
 * @since 2021-02-25
 */
@Service
public class OutpBillItemsTempServiceImpl extends ServiceImpl<OutpBillItemsTempMapper, OutpBillItemsTemp> implements OutpBillItemsTempService {

    @Resource
    private OutpBillItemsTempMapper outpBillItemsTempMapper;

    @Override
    public List<OutpBillItemsTemp> getOutpBillItemsTemp(String visitDate,String visitNo,String itemCode) {
        return outpBillItemsTempMapper.getOutpBillItemsTemp(visitDate,visitNo,itemCode);
    }

    @Override
    public int deleteBillItems(String visitDate, String visitNo, List<String> billItemCode) {
        return outpBillItemsTempMapper.deleteBillItems(visitDate, visitNo, billItemCode);
    }
}
